<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>绑定属性</title>
<style type="text/css">
.title{
	color:#FF0000;
	border:1px solid #FF00FF; 
	display:inline-block;
	padding:5px;
}
</style>
<script src="../JS/vue.js"></script>
</head>
<body>
<div id="box">
	<span v-bind:class="value">梦想照进现实</span>
</div>
<script type="text/javascript">
    var demo = new Vue({
        el : '#box',
        data : {
            value : 'title'//定义绑定的属性值
        }
    });
</script>
</body>
</html>